package com.ruoyi.wx.entity.vo;

import com.ruoyi.common.xss.Xss;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author 莫修
 * @date 2022/3/9
 */
@Data
public class WxUserVo {

    @Xss(message = "学号不能包含脚本字符")
    @ApiModelProperty(value = "学号")
    private String userName;

    @ApiModelProperty(value = "班级id")
    private Long classId;

    @Xss(message = "用户昵称不能包含脚本字符")
    @Size(min = 0, max = 30, message = "用户昵称长度不能超过30个字符")
    @ApiModelProperty(value = "姓名")
    private String nickName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "电话")
    private String phonenumber;

    @ApiModelProperty(value = "邮箱")
    private String email;
}
